package com.baosight.risk.mapper.riri;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.riri.entity.RiaaRisk;
import com.baosight.risk.service.riri.vo.RiaaRiskVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RiaaRiskMapper extends BaseMapper<RiaaRisk> {

    List<RiaaRisk> selectRiaaRisk(@Param("riaaRisk") RiaaRiskVO riaaRisk);

    List<RiaaRisk> checkRiaaRisk(@Param("riaaRisk") RiaaRiskVO riaaRisk);

    List<RiaaRisk> getRiaaRiskByIds(List<String> ids);

    Integer deleteById(@Param("ids") List<String> ids, @Param("status") String status, @Param("stausDesc") String stausDesc);

    Integer queryMaxRowOrder();
}